import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Root from '@/view/Root'
import Index from '@/view/index'
import AboutLeTui from '@/view/AboutLeTui'
// import Login from '@/view/Login'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Root',
      redirect: "/index",
      component: Root,
      children: [{
        path: "index",
        name: "index",
        component: Index
      }, ]
    },
    {
      path: "/aboutLeTui",
      name: "aboutLeTui",
      component: AboutLeTui
    }


  ]
})
